var app = getApp()
Page({

  /**
   * 页面的初始数据
   */
  data: {
    avatarUrl: null,
    nickName: null,
    gender: null,
    studentNumber: null,
    schoolName: null
  },

  /**
   * 生命周期函数--监听页面加载
   */
  onLoad: function(options) {
    var that = this
    that.setData({
      avatarUrl: app.globalData.userInfo.avataurl,
      nickName: app.globalData.userInfo.nickname,
      gender: app.globalData.userInfo.gender,
      studentNumber: app.globalData.userInfo.studentnumber,
      schoolName: app.globalData.userInfo.schoolname
    })


  },

})